49c310691ced7da02b3c6adaaebcc52814976099,core/src/main/java/org/elasticsearch/action/admin/cluster/allocation/TransportClusterAllocationExplainAction.java,TransportClusterAllocationExplainAction,explainShard,#ShardRouting#RoutingAllocation#RoutingNodes#boolean#ShardsAllocator#List#,134

Before Change


            final Settings indexSettings = indexMetaData.getSettings();
            remainingDelayNanos = ui.getRemainingDelay(System.nanoTime(), metadata.settings(), indexSettings);
        }
        return new ClusterAllocationExplanation(shard.shardId(), shard.primary(), shard.currentNodeId(), ui, nodeToDecision,
                shardAllocator.weighShard(allocation, shard), remainingDelayNanos, shardStores,
                indexMetaData.activeAllocationIds(shard.getId()));
    }

After Change


            Float weight = weights.get(node);
            IndicesShardStoresResponse.StoreStatus storeStatus = nodeToStatus.get(node);
            NodeExplanation nodeExplanation = calculateNodeExplanation(shard, indexMetaData, node, decision, weight,
                    storeStatus, shard.currentNodeId(), indexMetaData.activeAllocationIds(shard.getId()));
            explanations.put(node, nodeExplanation);
        }
        return new ClusterAllocationExplanation(shard.shardId(), shard.primary(),